package com.tubi.object2;

public class Object2 {
    public static void main(String[] args) {
        Student ii = new Student("zhangsan",12);
        Student i = new Student("zhangsan",12);
        System.out.println(ii==i);
//        Object  中的equals 是比较的地址值
        System.out.println(ii.equals(i));
    }
}
